home *** CD-ROM | disk | FTP | other *** search
/ Language/OS - Multiplatform Resource Library / LANGUAGE OS.iso / cpp_libs / answrbok / 5_12.lha / 5_12 / 5_12.c next >
Text File  |  1993-08-08  |  408b  |  23 lines

  1. * Copyright (c) 1990 by AT&T Bell Telephone Laboratories, Incorporated. */
  2. * The C++ Answer Book */
  3. * Tony Hansen */
  4. * All rights reserved. */
  5. include <stream.h>
  6.  
  7. / bogus class which prints out messages
  8. / upon construction and destruction
  9. lass bogus
  10.  
  11. ublic:
  12.    bogus()  { cout << "Initialize\n"; }
  13.    ~bogus() { cout << "Clean up\n"; }
  14. ;
  15.  
  16. ogus y;
  17.  
  18. ain()
  19.  
  20.    cout << "Hello, world\n";
  21.    return 0;    // DELETE
  22.  
  23.